.class public final Lcom/ninesky/browser/view/br;
.super Landroid/widget/LinearLayout;

# interfaces
.implements Ljava/util/Observer;


# static fields
.field private static g:Lcom/ninesky/browser/view/br;


# instance fields
.field private final a:Lcom/ninesky/browser/BrowserActivity;

.field private b:Landroid/widget/HorizontalScrollView;

.field private c:Lcom/ninesky/browser/view/f;

.field private d:Lcom/ninesky/browser/view/UrlBar;

.field private e:Landroid/widget/ImageButton;

.field private f:Landroid/os/Handler;

.field private h:Ljava/lang/Runnable;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/ninesky/browser/view/br;->g:Lcom/ninesky/browser/view/br;

    return-void
.end method

.method private constructor <init>(Landroid/content/Context;)V
    .locals 5

    const/4 v4, 0x1

    invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    new-instance v1, Landroid/os/Handler;

    invoke-direct {v1}, Landroid/os/Handler;-><init>()V

    iput-object v1, p0, Lcom/ninesky/browser/view/br;->f:Landroid/os/Handler;

    new-instance v1, Lcom/ninesky/browser/view/a;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/view/a;-><init>(Lcom/ninesky/browser/view/br;)V

    iput-object v1, p0, Lcom/ninesky/browser/view/br;->h:Ljava/lang/Runnable;

    move-object v0, p1

    check-cast v0, Lcom/ninesky/browser/BrowserActivity;

    move-object v1, v0

    iput-object v1, p0, Lcom/ninesky/browser/view/br;->a:Lcom/ninesky/browser/BrowserActivity;

    invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    const v2, 0x7f03002a

    invoke-virtual {v1, v2, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    invoke-virtual {p0, v4}, Lcom/ninesky/browser/view/br;->setOrientation(I)V

    new-instance v1, Lcom/ninesky/browser/view/f;

    invoke-direct {v1, p1}, Lcom/ninesky/browser/view/f;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    new-instance v2, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v1, -0x1

    const/4 v3, -0x2

    invoke-direct {v2, v1, v3}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    const v1, 0x7f0c0086

    invoke-virtual {p0, v1}, Lcom/ninesky/browser/view/br;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/HorizontalScrollView;

    iput-object v1, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    iget-object v3, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    invoke-virtual {v1, v3, v2}, Landroid/widget/HorizontalScrollView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    const v1, 0x7f0c0088

    invoke-virtual {p0, v1}, Lcom/ninesky/browser/view/br;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/ninesky/browser/view/UrlBar;

    iput-object v1, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    const v1, 0x7f0c0087

    invoke-virtual {p0, v1}, Lcom/ninesky/browser/view/br;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageButton;

    iput-object v1, p0, Lcom/ninesky/browser/view/br;->e:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->e:Landroid/widget/ImageButton;

    new-instance v2, Lcom/ninesky/browser/view/b;

    invoke-direct {v2, p0}, Lcom/ninesky/browser/view/b;-><init>(Lcom/ninesky/browser/view/br;)V

    invoke-virtual {v1, v2}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v1, v4}, Landroid/widget/HorizontalScrollView;->setSmoothScrollingEnabled(Z)V

    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x9

    if-lt v1, v2, :cond_0

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/HorizontalScrollView;->setOverScrollMode(I)V

    :cond_0
    return-void
.end method

.method public static a(Landroid/content/Context;)Lcom/ninesky/browser/view/br;
    .locals 1

    sget-object v0, Lcom/ninesky/browser/view/br;->g:Lcom/ninesky/browser/view/br;

    if-nez v0, :cond_0

    new-instance v0, Lcom/ninesky/browser/view/br;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/view/br;-><init>(Landroid/content/Context;)V

    sput-object v0, Lcom/ninesky/browser/view/br;->g:Lcom/ninesky/browser/view/br;

    :cond_0
    sget-object v0, Lcom/ninesky/browser/view/br;->g:Lcom/ninesky/browser/view/br;

    return-object v0
.end method

.method public static a()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/ninesky/browser/view/br;->g:Lcom/ninesky/browser/view/br;

    return-void
.end method

.method private a(I)V
    .locals 2

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ninesky/browser/TabControl;->a(I)Lcom/ninesky/browser/n;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ninesky/browser/TabControl;->a(I)Lcom/ninesky/browser/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->q()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-direct {p0, p1, v0, v1}, Lcom/ninesky/browser/view/br;->a(ILjava/lang/String;Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method private a(ILjava/lang/String;Ljava/lang/String;)V
    .locals 2

    if-eqz p2, :cond_0

    const-string v0, ""

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "about:blank"

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    invoke-virtual {v0, p1, p2}, Lcom/ninesky/browser/view/f;->a(ILjava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    if-eqz p3, :cond_1

    const-string v0, ""

    invoke-virtual {v0, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    invoke-virtual {v0, p1, p3}, Lcom/ninesky/browser/view/f;->a(ILjava/lang/String;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    const-string v1, "blank"

    invoke-virtual {v0, p1, v1}, Lcom/ninesky/browser/view/f;->a(ILjava/lang/String;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/ninesky/browser/view/br;)V
    .locals 8

    const/4 v7, 0x0

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/f;->a()I

    move-result v0

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    invoke-virtual {v1}, Lcom/ninesky/browser/view/f;->getChildCount()I

    move-result v1

    iget-object v2, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    invoke-virtual {v2, v0}, Lcom/ninesky/browser/view/f;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getLeft()I

    move-result v3

    invoke-virtual {v2}, Landroid/view/View;->getRight()I

    move-result v2

    add-int v4, v3, v2

    div-int/lit8 v4, v4, 0x2

    iget-object v5, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v5}, Landroid/widget/HorizontalScrollView;->getScrollX()I

    move-result v5

    iget-object v6, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v6}, Landroid/widget/HorizontalScrollView;->getWidth()I

    move-result v6

    div-int/lit8 v6, v6, 0x2

    add-int/2addr v5, v6

    const/4 v6, 0x3

    if-le v1, v6, :cond_1

    if-nez v0, :cond_0

    const/4 v6, 0x1

    sub-int/2addr v1, v6

    if-eq v0, v1, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v0}, Landroid/widget/HorizontalScrollView;->getScrollX()I

    move-result v0

    sget v1, Lcom/ninesky/browser/view/f;->a:I

    add-int/2addr v0, v1

    if-ge v3, v0, :cond_2

    sub-int v0, v4, v5

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v1, v0, v7}, Landroid/widget/HorizontalScrollView;->smoothScrollBy(II)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v0}, Landroid/widget/HorizontalScrollView;->getScrollX()I

    move-result v0

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v1}, Landroid/widget/HorizontalScrollView;->getWidth()I

    move-result v1

    add-int/2addr v0, v1

    sget v1, Lcom/ninesky/browser/view/f;->a:I

    sub-int/2addr v0, v1

    if-le v2, v0, :cond_1

    sub-int v0, v4, v5

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->b:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v1, v0, v7}, Landroid/widget/HorizontalScrollView;->smoothScrollBy(II)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/ninesky/browser/view/br;)Lcom/ninesky/browser/BrowserActivity;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->a:Lcom/ninesky/browser/BrowserActivity;

    return-object v0
.end method

.method public static b()Lcom/ninesky/browser/view/br;
    .locals 1

    sget-object v0, Lcom/ninesky/browser/view/br;->g:Lcom/ninesky/browser/view/br;

    return-object v0
.end method


# virtual methods
.method public final a(ILjava/lang/String;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lcom/ninesky/browser/view/br;->a(ILjava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public final b(ILjava/lang/String;)V
    .locals 1

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->g()I

    move-result v0

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0, p2}, Lcom/ninesky/browser/view/UrlBar;->a(Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public final c()Ljava/lang/String;
    .locals 2

    const-string v0, ""

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    if-eqz v1, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/UrlBar;->a()Ljava/lang/String;

    move-result-object v0

    :cond_0
    return-object v0
.end method

.method public final d()V
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/UrlBar;->e()V

    :cond_0
    return-void
.end method

.method public final e()Z
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/UrlBar;->h()Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public final f()V
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/UrlBar;->b()V

    :cond_0
    return-void
.end method

.method public final update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 7

    const/4 v6, 0x0

    const/4 v3, 0x1

    const/4 v5, 0x0

    if-eqz p2, :cond_3

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->c()Ljava/util/Observable;

    move-result-object v0

    if-ne p1, v0, :cond_3

    check-cast p2, Lcom/ninesky/browser/ef;

    iget v0, p2, Lcom/ninesky/browser/ef;->a:I

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    iget v1, p2, Lcom/ninesky/browser/ef;->b:I

    invoke-virtual {v0, v1, v5}, Lcom/ninesky/browser/view/f;->a(IZ)V

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    iget v1, p2, Lcom/ninesky/browser/ef;->b:I

    iget-object v2, p2, Lcom/ninesky/browser/ef;->e:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/ninesky/browser/view/f;->a(ILjava/lang/String;)V

    move v0, v5

    :goto_1
    iget-object v1, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    invoke-virtual {v1}, Lcom/ninesky/browser/view/f;->getChildCount()I

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    invoke-virtual {v1}, Lcom/ninesky/browser/view/f;->a()I

    move-result v1

    iget v2, p2, Lcom/ninesky/browser/ef;->d:I

    if-eq v1, v2, :cond_1

    iget-object v1, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    iget v2, p2, Lcom/ninesky/browser/ef;->d:I

    invoke-virtual {v1, v2}, Lcom/ninesky/browser/view/f;->b(I)V

    :cond_1
    iget-object v1, p0, Lcom/ninesky/browser/view/br;->f:Landroid/os/Handler;

    iget-object v2, p0, Lcom/ninesky/browser/view/br;->h:Ljava/lang/Runnable;

    const-wide/16 v3, 0x64

    invoke-virtual {v1, v2, v3, v4}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/UrlBar;->b()V

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->a:Lcom/ninesky/browser/BrowserActivity;

    const-string v1, "input_method"

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/BrowserActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/ninesky/browser/view/br;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    invoke-virtual {v0, v1, v5}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_2
    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->h()Lcom/ninesky/browser/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->u()V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    iget v1, p2, Lcom/ninesky/browser/ef;->b:I

    invoke-virtual {v0, v1, v3}, Lcom/ninesky/browser/view/f;->a(IZ)V

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    iget v1, p2, Lcom/ninesky/browser/ef;->b:I

    iget-object v2, p2, Lcom/ninesky/browser/ef;->e:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/ninesky/browser/view/f;->a(ILjava/lang/String;)V

    move v0, v3

    goto :goto_1

    :pswitch_3
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->c:Lcom/ninesky/browser/view/f;

    iget v1, p2, Lcom/ninesky/browser/ef;->c:I

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/view/f;->a(I)V

    move v0, v3

    goto :goto_1

    :pswitch_4
    move v0, v3

    goto :goto_1

    :cond_3
    if-eqz p2, :cond_0

    instance-of v0, p1, Lcom/ninesky/browser/eg;

    if-eqz v0, :cond_0

    check-cast p2, Lcom/ninesky/browser/br;

    iget v0, p2, Lcom/ninesky/browser/br;->a:I

    iget v1, p2, Lcom/ninesky/browser/br;->b:I

    iget v2, p2, Lcom/ninesky/browser/br;->c:I

    iget-object v3, p2, Lcom/ninesky/browser/br;->d:Ljava/lang/String;

    iget-object v4, p2, Lcom/ninesky/browser/br;->e:Ljava/lang/String;

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v5

    invoke-virtual {v5}, Lcom/ninesky/browser/TabControl;->g()I

    move-result v5

    if-ne v1, v5, :cond_5

    sparse-switch v0, :sswitch_data_0

    goto/16 :goto_0

    :sswitch_0
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/UrlBar;->g()V

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/TabControl;->a(I)Lcom/ninesky/browser/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->q()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->i()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v1, v2, v0}, Lcom/ninesky/browser/view/br;->a(ILjava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0, v2, v3, v4}, Lcom/ninesky/browser/view/UrlBar;->a(ILjava/lang/String;Ljava/lang/String;)V

    invoke-direct {p0, v1, v4, v3}, Lcom/ninesky/browser/view/br;->a(ILjava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0, v2, v3, v4}, Lcom/ninesky/browser/view/UrlBar;->b(ILjava/lang/String;Ljava/lang/String;)V

    invoke-direct {p0, v1}, Lcom/ninesky/browser/view/br;->a(I)V

    goto/16 :goto_0

    :sswitch_3
    invoke-direct {p0, v1, v4, v6}, Lcom/ninesky/browser/view/br;->a(ILjava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0, v3, v4}, Lcom/ninesky/browser/view/UrlBar;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->a:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->h()Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/ninesky/browser/view/br;->a:Lcom/ninesky/browser/BrowserActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/BrowserActivity;->g()V

    :cond_4
    iget-object v0, p0, Lcom/ninesky/browser/view/br;->d:Lcom/ninesky/browser/view/UrlBar;

    invoke-virtual {v0}, Lcom/ninesky/browser/view/UrlBar;->e()V

    goto/16 :goto_0

    :cond_5
    sparse-switch v0, :sswitch_data_1

    goto/16 :goto_0

    :sswitch_5
    invoke-direct {p0, v1}, Lcom/ninesky/browser/view/br;->a(I)V

    goto/16 :goto_0

    :sswitch_6
    invoke-direct {p0, v1, v4, v3}, Lcom/ninesky/browser/view/br;->a(ILjava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_7
    invoke-direct {p0, v1, v4, v6}, Lcom/ninesky/browser/view/br;->a(ILjava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_2
        :pswitch_0
        :pswitch_3
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_4
    .end packed-switch

    :sswitch_data_0
    .sparse-switch
        0x1 -> :sswitch_0
        0x2 -> :sswitch_2
        0x4 -> :sswitch_1
        0x10 -> :sswitch_4
        0x20 -> :sswitch_3
        0x40 -> :sswitch_2
    .end sparse-switch

    :sswitch_data_1
    .sparse-switch
        0x2 -> :sswitch_5
        0x4 -> :sswitch_6
        0x20 -> :sswitch_7
        0x40 -> :sswitch_5
    .end sparse-switch
.end method
